<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>新指令</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="migration5.functions.html">新函数</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="migration5.databases.html">数据库</a></div>
 <div class="up"><a href="migration5.html">从 PHP 4 移植到 PHP 5</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="migration5.newconf" class="section">
   <h2 class="title">新指令</h2>
   <p class="para">
    PHP 5 在 <var class="filename">php.ini</var> 中引进了一些新指令。列表如下：
   </p>
   <ul class="itemizedlist">
    <li class="listitem">
     <span class="simpara">
      mail.force_extra_parameters -
      强制指定的参数附加值作为额外的参数传递给 sendmail 库。这些参数总是会替换掉
      <span class="function"><a href="function.mail.html" class="function">mail()</a></span> 的第 5 个参数，即使在安全模式下
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <a href="ini.core.html#ini.register-long-arrays" class="link">register_long_arrays</a> -
      允许／禁止 PHP 注册已过时的 $HTTP_*_VARS 变量
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <a href="session.configuration.html#ini.session.hash-function" class="link">session.hash_function</a> -
      选择一种散列函数（MD5 或 SHA-1）
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <a href="session.configuration.html#ini.session.hash-bits-per-character" class="link">session.hash_bits_per_character</a> -
      定义将二进制散列数据转换为可读格式时每个字符中储存几个位（从 4 到 6）
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <a href="ini.core.html#ini.zend.ze1-compatibility-mode" class="link">zend.ze1_compatibility_mode</a> -
      启用 Zend Engline 1 代（PHP 4）兼容模式
     </span>
    </li>
   </ul>
  </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="migration5.functions.html">新函数</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="migration5.databases.html">数据库</a></div>
 <div class="up"><a href="migration5.html">从 PHP 4 移植到 PHP 5</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
